<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import { UserModule } from '@/store/modules/user'
@Component({
  name: 'App',
  components: {}
})
export default class extends Vue {
  created() {
    if (localStorage.getItem('sid')) {
      UserModule.GetUserInfo()
    }
  }
}
</script>
<style>
* {
  padding: 0;
  margin: 0;
}
</style>
